package com.han.strategy;

/**
 * @ClassName SalesMan
 * @Description 促销员（环境类）
 * @Author duoduo Han
 * @Date 2024/6/13 17:39
 */
public class SalesMan {
    Strategy strategy;

    public void setStrategy(Strategy strategy) {
        this.strategy = strategy;
    }

    public SalesMan(Strategy strategy) {
        this.strategy = strategy;
    }

    public void salesManShow() {
        strategy.show();
    }
}
